//
// Created by PC on 2023/11/30.
//


#include <iostream>
#include <vector>
#include "arrUtil.h"

using namespace std;

int main()
{
    vector<int> arr;
    arr = {1, 0, 2, 3, 9, 8, 7, 4, 5, 6};
    randVector(arr,1000);
    for (int i = 1; i <arr.size() ; ++i)
    {
        int j = i, cur = arr[j];
        while(j-1>=0 && cur<arr[j-1])
        {
            arr[j]=arr[j-1];
            j--;
        }
        arr[j]=cur;
    }
//    printVector(arr);
    cout<<checkSortVector(arr);
    return 0;
}